Fix and simplify definition of GDK_PIXBUF_VAR:
authorMichael Natterer <mitch@imendio.com>
Tue, 27 May 2008 12:05:14 +0000 (12:05 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Tue, 27 May 2008 12:05:14 +0000 (12:05 +0000)
commitf498fc887f97b5a8f4f2553325e975897d9f8e6b
tree88cbbe2f5ec2a233ec32c6e52602a2daf4f6fed9
parent727a7dbf461b48b2c35c5a94bd61ce5996b92a92
Fix and simplify definition of GDK_PIXBUF_VAR:

2008-05-27  Michael Natterer  <mitch@imendio.com>

Fix and simplify definition of GDK_PIXBUF_VAR:

* Makefile.am: add -DGDK_PIXBUF_COMPILATION to INCLUDES.

* gdk-pixbuf.c: don't #define it here. Remove GDK_PIXBUF_VAR from
the definition of the version variables.

* gdk-pixbuf-features.h.in: in the !G_PLATFORM_WIN32 case, always
define GDK_PIXBUF_VAR to "extern". Remove redundant #ifndef
GDK_PIXBUF_VAR around the whole block, the header itself already
has include guards.

svn path=/trunk/; revision=20188
gdk-pixbuf/ChangeLog
gdk-pixbuf/Makefile.am
gdk-pixbuf/gdk-pixbuf-features.h.in
gdk-pixbuf/gdk-pixbuf.c